﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML >
<html>
	<head>
		<base href="<%=basePath%>">

		<title>修改资料</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="产品详情">
		<meta name="viewport"
			content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

		<link rel="stylesheet"
			href="<%=request.getContextPath()%>/admin/css/pintuer.css">
		<script src="<%=request.getContextPath()%>/admin/js/jquery.js"></script>
		<script src="<%=request.getContextPath()%>/admin/js/pintuer.js"></script>

	</head>

	<body style="font-size: 12px;">
		<div
			style="position: fixed; top: 0px; background: #000; width: 100%; line-height: 35px; font-weight: bold; color: #fff; font-size: 16px; text-align: center;">
			<span style="clear: both;">个人资料修改</span>
		</div>
		<div class="" id="" style="margin-top: 35px;">

			<form method="post" id="form" action="team!update22.action">
				<ul class="list-group">
					<li>
						联系人
						<input
							style="margin-left: 20%; width: 60%; border: none; line-height: 150%;"
							type="text" id="" name="team.name" value="${team.name}" size="30"
							placeholder="姓名" data-validate="required:请输入姓名" />
					</li>
					<li>
						手机号
						<input
							style="margin-left: 20%; width: 60%; border: none; line-height: 150%;"
							type="text" id="" name="team.phone" value="${team.phone}"
							size="30" placeholder="手机号码"
							data-validate="required:请输入手机号码,int:必须为数字" />
					</li>
					<li>
						微信号
						<input
							style="margin-left: 20%; width: 60%; border: none; line-height: 150%;"
							type="text" id="" name="team.weixin" value="${team.weixin}"
							size="30" placeholder="微信号" data-validate="required:请输入微信号" />
					</li>
					<li>
						收货地址
						<input
							style="margin-left: 20%; width: 60%; border: none; line-height: 150%;"
							type="text" id="" name="team.address" value="${team.address}"
							size="30" placeholder="收货地址" data-validate="required:请输入收货地址" />
					</li>
				</ul>
			</form>
			<div class="form-button"
				style="margin-top: 15px; text-align: center;">
				<button class="button" onclick="xuke();"
					style="color: #fff; width: 90%; font-size: 16px; height: 35px; background: #3bb234;">
					修改
				</button>
			</div>

		</div>

	<s:include value="/w/tmpfoot.jsp"></s:include>
	
		<script type="text/javascript">
			function xuke() {
				document.getElementById("form").submit();
			}
	</script>
	</body>
</html>
